home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / ldapjdk.jar / com / netscape / sasl / SASLException.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-04-13  |  855 b   |  26 lines

  1. package com.netscape.sasl;
  2.  
  3. public class SASLException extends Exception {
  4.    private int m_resultCode = -1;
  5.  
  6.    public SASLException() {
  7.    }
  8.  
  9.    public SASLException(String var1) {
  10.       super(var1);
  11.    }
  12.  
  13.    public SASLException(String var1, int var2) {
  14.       super(var1);
  15.       this.m_resultCode = var2;
  16.    }
  17.  
  18.    public int getResultCode() {
  19.       return this.m_resultCode;
  20.    }
  21.  
  22.    public String toString() {
  23.       return this.m_resultCode != -1 ? super.toString() + " (" + this.m_resultCode + ")" : super.toString();
  24.    }
  25. }
  26.